package com.ctrip.ec.biz.entity.message;
import com.ctrip.ec.dal.DbColumn;
import com.ctrip.ec.dal.DbTable;
import com.ctrip.ec.dal.EntityBase;
import java.math.BigDecimal;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.sql.Timestamp;
@DbTable("e_message")
public class MessageEntity extends EntityBase {
    @DbColumn("id")
    private Long id;
    @DbColumn("type")
    private Integer type;
    @DbColumn("content")
    private String content;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",locale = "zh" ,timezone="GMT+8")
    @DbColumn("create_time")
    private Timestamp createTime;
    @DbColumn("related_image_id")
    private Long relatedImageId;
    @DbColumn("related_image_url")
    private String relatedImageUrl;
    @DbColumn("content_id")
    private Long contentId;
    public  Long getId(){
        return this.id;
    }
    public void setId(Long id){
        this.id = id;
    }
    public  Integer getType(){
        return this.type;
    }
    public void setType(Integer type){
        this.type = type;
    }
    public  String getContent(){
        return this.content;
    }
    public void setContent(String content){
        this.content = content;
    }
    public  Timestamp getCreateTime(){
        return this.createTime;
    }
    public void setCreateTime(Timestamp createTime){
        this.createTime = createTime;
    }
    public  Long getRelatedImageId(){
        return this.relatedImageId;
    }
    public void setRelatedImageId(Long relatedImageId){
        this.relatedImageId = relatedImageId;
    }
    public  String getRelatedImageUrl(){
        return this.relatedImageUrl;
    }
    public void setRelatedImageUrl(String relatedImageUrl){
        this.relatedImageUrl = relatedImageUrl;
    }
    public  Long getContentId(){
        return this.contentId;
    }
    public void setContentId(Long contentId){
        this.contentId = contentId;
    }
}